package com.dglg.spring.dao;

import com.dglg.spring.model.Attendance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttendanceDao {

    // 根据实训班名称和学号获取学生考勤信息
    List<Attendance> getAttendanceByParams(@Param("trainingClassName") String trainClassName, @Param("studentId") String studentId);

    // 导入考勤信息
    int insert(Attendance attendance);

}
